<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>背景属性</title>
		<style>
			div{
				width: 500px;
				height: 500px;
				background-color: #00ffff;
				background-image: url(img/蜡笔小新.png);
				background-size: 30% 30%;
				background-repeat: no-repeat;
				background-position: 20% 0%;
				background-position: 100px 0;
				background-position: center center; 
			}
			body{
				height: 100000px;
				background-size: contain;
				background-image: url("img/蜡笔小新.png");
				background-repeat: no-repeat;
				background-attachment: fixed;
			}
		</style>
	</head>
	<body>
		Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusamus beatae maiores mollitia quisquam eius voluptate, minima veritatis earum officiis culpa. Nostrum, repudiandae. Blanditiis excepturi error odit, tempora repellat saepe <adipisci class="lorem">Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores repudiandae corrupti necessitatibus minus qui molestiae incidunt voluptatibus corporis, quod architecto perspiciatis neque similique dolore quo. Aut iusto repellendus temporibus asperiores.</adipisci>
		<div></div>
	</body>
</html>